package cmpdynamic.factory;

import cmpdynamic.service.CmpdynamicService;

public class CmpdynamicFactory {
	private static CmpdynamicFactory instance;
	private CmpdynamicService Cmpdynamic;
	private CmpdynamicFactory(){
		Cmpdynamic= new CmpdynamicService();
	}
	
	public static synchronized CmpdynamicFactory getInstance(){

		if (instance == null) {
			instance = new CmpdynamicFactory();
		}
		return instance;
	}

	public CmpdynamicService creatCmpdynamicService() {
		return Cmpdynamic;
	}
}
	
